|
The Hadamard transform (also known as the Walsh–Hadamard transform, Hadamard–Rademacher–Walsh transform, Walsh transform, or Walsh–Fourier transform) is an example of a generalized class of Fourier transforms. It performs an orthogonal, symmetric, involutive, linear operation on real numbers (or complex numbers, although the Hadamard matrices themselves are purely real). The Hadamard transform can be regarded as being built out of size-2 discrete Fourier transforms (DFTs), and is in fact equivalent to a multidimensional DFT of size . It decomposes an arbitrary input vector into a superposition of Walsh functions. The transform is named for the French mathematician Jacques Hadamard, the German-American mathematician Hans Rademacher, and the American mathematician Joseph L. Walsh. ==Definition== The Hadamard transform ''H''''m'' is a 2''m'' × 2''m'' matrix, the Hadamard matrix (scaled by a normalization factor), that transforms 2''m'' real numbers ''x''''n'' into 2''m'' real numbers ''X''''k''. The Hadamard transform can be defined in two ways: recursively, or by using the binary (base-2) representation of the indices ''n'' and ''k''. Recursively, we define the 1 × 1 Hadamard transform ''H''0 by the identity ''H''0 = 1, and then define ''H''''m'' for ''m'' > 0 by: : where the 1/√2 is a normalization that is sometimes omitted. Thus, other than this normalization factor, the Hadamard matrices are made up entirely of 1 and −1. Equivalently, we can define the Hadamard matrix by its (''k'', ''n'')-th entry by writing : and : where the ''k''''j'' and ''n''''j'' are the binary digits (0 or 1) of ''k'' and ''n'', respectively. Note that for the element in the top left corner, we define: . In this case, we have: : This is exactly the multidimensional DFT, normalized to be unitary, if the inputs and outputs are regarded as multidimensional arrays indexed by the ''n''''j'' and ''k''''j'', respectively. Some examples of the Hadamard matrices follow. : (This ''H''1 is precisely the size-2 DFT. It can also be regarded as the Fourier transform on the two-element ''additive'' group of Z/(2).) : where is the bitwise dot product of the binary representations of the numbers i and j. For example, if , then , agreeing with the above (ignoring the overall constant). Note that the first row, first column of the matrix is denoted by . The rows of the Hadamard matrices are the Walsh functions. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Hadamard transform」の詳細全文を読む スポンサード リンク
|